package com.awardsystem.Dao;

import com.awardsystem.entity.Achievement;
import com.awardsystem.entity.SCI;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface SCIDao extends JpaRepository<SCI,Integer> {
    SCI findByNumber(String number);
    SCI findByName(String name);
    SCI findById(int id);
    List<SCI> findSCISByAchievementListEquals(Achievement achievement);
}
